package com.tyylab.message.distribute.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("消息总线配置（消息渠道分发）")
public class MessageDistribute {

    private String id;

    private Timestamp createTime;

    private Timestamp updateTime;

    private Integer enable;

    @ApiModelProperty("配置范围:Global/Package/Class,分别对应全局、包内、类")
    String scope;

    @ApiModelProperty("消息分发频道")
    String channel;

    @ApiModelProperty("包名/类名")
    String name;

    @ApiModelProperty("操作符：Include/Exclude")
    String operation;

}
